package base;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by zhou on 2017/5/4.
 */
//@ComponentScan({"base","com.llk.pool.controller"})
//@MapperScan("com.llk.pool.mapper")
//@SpringBootApplication
public class WarApplication extends SpringBootServletInitializer {


    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(WarApplication.class);
    }

    public static void main(String args[]){
        SpringApplication.run(WarApplication.class, args);
    }
}
